package com.neuedu.model;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

public class Laws {
	private int lawsNo;
	private String title;
	private LawsType lawsType;
	private String author;
	private String content;
	@JSONField(format="yyyy/MM/dd HH:mm:ss")	
	private Date posttime;
	private String origin;
	public int getLawsNo() {
		return lawsNo;
	}
	public void setLawsNo(int lawsNo) {
		this.lawsNo = lawsNo;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public LawsType getLawsType() {
		return lawsType;
	}
	public void setLawsType(LawsType lawsType) {
		this.lawsType = lawsType;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getPosttime() {
		return posttime;
	}
	public void setPosttime(Date posttime) {
		this.posttime = posttime;
	}
	public String getOrigin() {
		return origin;
	}
	public void setOrigin(String origin) {
		this.origin = origin;
	}
	public Laws(int lawsNo, String title, LawsType lawsType, String author, String content, Date posttime,
			String origin) {
		super();
		this.lawsNo = lawsNo;
		this.title = title;
		this.lawsType = lawsType;
		this.author = author;
		this.content = content;
		this.posttime = posttime;
		this.origin = origin;
	}
	public Laws() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
